import { createPinia } from "pinia";
// 插件 pinia-plugin-persist 可以辅助实现数据持久化功能。放在storage中
import piniaPluginPersist from "pinia-plugin-persist";
console.log("piniaPluginPersist: ", piniaPluginPersist);
// 创建store
const store = createPinia();
store.use(piniaPluginPersist);
export default store;
